<!DOCTYPE html>
<html>

    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>大区对接人维护</title>
        <link rel="stylesheet" href="css/reset.css" />
        <link rel="stylesheet" href="css/platform.css" />
        <link rel="stylesheet" href="css/table.css?v=20160602" />
        <link rel="stylesheet" href="css/personmaintain.css" />
    </head>

    <body>
        <div class="header">
            <div class="u-title">大区对接人维护</div>
        </div>
        <div class="container" ms-controller="mainController">
            <div class="cnt-box">
                <div class="u-multiform">
                    <div class="column">
                        <div class="cell">
                            <label>大区名称：</label>
                            <div class="clone-select">
                                <input class="u-ipt" type="text" placeholder="大区编码/大区名称" ms-duplex="regiontext" ms-input="searchRegion" ms-click="showRegion" />
                                <div class="drop" ms-click="showRegion"></div>
                                <ul>
                                    <li ms-repeat-region="regionList" ms-click="selectRegion">{{region.regionCode}} - {{region.regionName}}</li>
                                </ul>
                            </div>

                        </div>
                    </div>
                    <div class="column">
                        <div class="cell">
                            <label></label>
                            <button class="u-btn small" ms-click="search">查询</button>
                        </div>
                    </div>
                </div>
            </div>
            <div id="personTable" ms-controller="personTable"></div>
            <script type="avalon" id="tableperson">
                <div class="tableWrapper">
                    <table class="table">
                        <thead>
                            <tr>
                                <th>大区编码</th>
                                <th>大区名称</th>
                                <th>对接人工号</th>
                                <th>对接人姓名</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr ms-repeat-row="sources">
                                <td>{{row.regionCode}}</td>
                                <td>{{row.regionName}}</td>
                                <td class="edit-ipt" ms-dblclick="customFuncs.editnumber">
                                    <span class="staff-code">{{row.staffCode}}</span>
                                    <input class="u-ipt" type="text" ms-input="customFuncs.checknumber(row)" maxlength="8"/>
                                </td>
                                <td class="staff-name">{{row.staffName}}</td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="8">
                                    <div class="pager">
                                        <div class="first-page" ms-click="firstpage" ms-class={{firstpagestyle}}>首页</div>
                                        <div class="pre-page" ms-click="prepage" ms-class={{prepagestyle}}>上一页</div>
                                        <div class="current-page">
                                            第<input class="current-page-num" type="text" ms-duplex="currentpage" ms-input="jumppage" />页
                                            <span class="totalpage">共 {{totalpage}} 页</span>
                                        </div>
                                        <div class="next-page" ms-click="nextpage" ms-class={{nextpagestyle}}>下一页</div>
                                        <div class="last-page" ms-click="lastpage" ms-class={{lastpagestyle}}>尾页</div>
                                        <div class="messageinfo">{{startrow}}-{{endrow}} 共{{total}}条</div>
                                    </div>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                </div>
            </script>
            <div class="u-popup" id="popup_tips">
                <div class="bg"></div>
                <div class="asTable">
                    <div class="asTableCell">
                        <div class="asCell alert">
                            <a href="javascript:;" class="close btn-close">×</a>
                            <p class="title">提示</p>
                            <div class="container">
                                <div class="error"></div>
                                <p></p>
                            </div>
                            <div class="btn-box">
                                <button class="u-btn btn-close">确定</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="js/jquery.min.js"></script>
        <script src="js/avalon.shim.sn.js"></script>
        <script src="js/swift-ui-table-1.1.js"></script>
        <script src="js/platform.js"></script>
        <script src="js/DataInterface/DataInterface.js"></script>
        <script src="js/personmaintain.js?v=20160602"></script>
	</body>
</html>
